package FileControl.Source;

public class KillableThread extends Thread{

	protected boolean kill;
	protected boolean finished;
	protected boolean hasStarted;
	
	public KillableThread() {
		super();
		finished = false;
		hasStarted = false;
		kill = false;
	}
	
	public boolean isDead() {
		return kill;
	}

	public boolean isFinished() {
		return finished;
	}

	public boolean isStarted() {
		return hasStarted;
	}

	public void kill() {
		kill = true;
	}
}
